-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Drivers: max17055: retrieve the current value #93034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Drivers: max17055: retrieve the current value #93034
Conversation
b870608
to
ffcf8a1
Compare
ffcf8a1
to
a57e6b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but please fix CI
a57e6b7
to
6b8083f
Compare
I switched it to a private MAX17055 extension, as was done already for the open-circuit voltage. This should also fix the CI. |
@samueltardieu it seems there's still some CI issues. |
Yes (a "decasting" of the enum to an integer type or similar was missing to avoid a warning), and that was a good thing: in the meantime, I noticed I could use Updating the PR! |
6b8083f
to
05c46fb
Compare
I am puzzled with the CI failure which seems unrelated to this PR:
|
Would you mind rebasing to latest |
05c46fb
to
dd54624
Compare
Done. |
The MAX17055 peripheral allows measuring the current value (which corresponds to the instantaneous value). Respond to the `SENSOR_CHAN_CURRENT` command, and retrieve the data from the `0x0a` device register. Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
dd54624
to
506ab5c
Compare
(and updated the description) |
|
The MAX17055 peripheral allows measuring the current value (which corresponds to the instantaneous value). Respond to the
SENSOR_CHAN_CURRENT
command, and retrieve the data from the0x0a
device register.